[INFO] cloning repository https://github.com/robin9975/Advent2021
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robin9975/Advent2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobin9975%2FAdvent2021", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobin9975%2FAdvent2021'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8ab3a9e7157d5e2af8ea101e3bf978c45ee895ac
[INFO] checking robin9975/Advent2021 against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobin9975%2FAdvent2021" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/robin9975/Advent2021 on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/robin9975/Advent2021
[INFO] finished tweaking git repo https://github.com/robin9975/Advent2021
[INFO] tweaked toml for git repo https://github.com/robin9975/Advent2021 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/robin9975/Advent2021 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dcdaa106a7019ec0caafd3c99301f6703e173c83341a60e15d7a4a2a7f07a03c
[INFO] running `Command { std: "docker" "start" "-a" "dcdaa106a7019ec0caafd3c99301f6703e173c83341a60e15d7a4a2a7f07a03c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dcdaa106a7019ec0caafd3c99301f6703e173c83341a60e15d7a4a2a7f07a03c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcdaa106a7019ec0caafd3c99301f6703e173c83341a60e15d7a4a2a7f07a03c", kill_on_drop: false }`
[INFO] [stdout] dcdaa106a7019ec0caafd3c99301f6703e173c83341a60e15d7a4a2a7f07a03c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc3385ac0b9467aa37455a7dc48efbdd8143cb798cd8128757eb323c33310765
[INFO] running `Command { std: "docker" "start" "-a" "cc3385ac0b9467aa37455a7dc48efbdd8143cb798cd8128757eb323c33310765", kill_on_drop: false }`
[INFO] [stderr]     Checking Advent2021 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day6_p2.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut numbers = content
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day6_p2.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut numbers = content
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]   --> src/bin/day9.rs:35:39
[INFO] [stdout]    |
[INFO] [stdout] 35 |             .for_each(|(index, (x, y, height))| {
[INFO] [stdout]    |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/bin/day9.rs:149:16
[INFO] [stdout]     |
[INFO] [stdout] 149 |         .map(|(x, y, height)| 1 + height)
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/bin/day9.rs:149:19
[INFO] [stdout]     |
[INFO] [stdout] 149 |         .map(|(x, y, height)| 1 + height)
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/day8.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |             .map(|x| vec!['a', 'b', 'c', 'd', 'e', 'f', 'g']
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tunnels` in this scope
[INFO] [stdout]   --> src/bin/day12.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |             tunnels: tunnels.clone(),
[INFO] [stdout]    |                      ^^^^^^^ help: you might have meant to use the available field: `self.tunnels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `done` is assigned to, but never used
[INFO] [stdout]   --> src/bin/day21b.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |             let mut done = true;
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_done` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `done` is never read
[INFO] [stdout]   --> src/bin/day21b.rs:92:21
[INFO] [stdout]    |
[INFO] [stdout] 92 |                     done = false;
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `die_roll_universes` should have an upper case name
[INFO] [stdout]  --> src/bin/day21b.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | static die_roll_universes:  [(usize, usize); 7] = [ (3, 1), (4, 3), (5, 6), (6, 7), (7, 6), (8, 3), (9, 1) ];
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `DIE_ROLL_UNIVERSES`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `small_cave_visited` in initializer of `CaveSystem`
[INFO] [stdout]   --> src/bin/day12.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Self {
[INFO] [stdout]    |         ^^^^ missing `small_cave_visited`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/bin/day15.rs:84:35
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     .min_by_key(|(index, n)| n.cost)
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `small_cave_visited` in initializer of `CaveSystem`
[INFO] [stdout]    --> src/bin/day12.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     CaveSystem { tunnels }
[INFO] [stdout]     |     ^^^^^^^^^^ missing `small_cave_visited`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `h` is never used
[INFO] [stdout]   --> src/bin/day15.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn h(&self, x: usize, y: usize) -> i32 {
[INFO] [stdout]    |        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Advent2021` due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `oxygen_generator_rating` is never used
[INFO] [stdout]   --> src/bin/day3.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn oxygen_generator_rating(input: &[usize], current_bit: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `co_scrubber_rating` is never used
[INFO] [stdout]   --> src/bin/day3.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn co_scrubber_rating(input: &[usize], current_bit: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/day13.rs:54:49
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let max_x = self.points.iter().map(|(x, y)| x).max().unwrap();
[INFO] [stdout]    |                                                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/day13.rs:55:46
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let max_y = self.points.iter().map(|(x, y)| y).max().unwrap();
[INFO] [stdout]    |                                              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pos_diff` is never used
[INFO] [stdout]    --> src/bin/day19.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn pos_diff(
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_unique_beacon_count` is never used
[INFO] [stdout]    --> src/bin/day19.rs:378:4
[INFO] [stdout]     |
[INFO] [stdout] 378 | fn get_unique_beacon_count(scanners: &[Scanner]) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/bin/day15.rs:84:35
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     .min_by_key(|(index, n)| n.cost)
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/day11.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |                 write!(f, "{}", value);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/day11.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             writeln!(f, "");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/bin/day13.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     write!(f, "#");
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/bin/day13.rs:62:21
[INFO] [stdout]    |
[INFO] [stdout] 62 |                     write!(f, " ");
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/bin/day13.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             writeln!(f, "");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `h` is never used
[INFO] [stdout]   --> src/bin/day15.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn h(&self, x: usize, y: usize) -> i32 {
[INFO] [stdout]    |        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "cc3385ac0b9467aa37455a7dc48efbdd8143cb798cd8128757eb323c33310765", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc3385ac0b9467aa37455a7dc48efbdd8143cb798cd8128757eb323c33310765", kill_on_drop: false }`
[INFO] [stdout] cc3385ac0b9467aa37455a7dc48efbdd8143cb798cd8128757eb323c33310765
